<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>ES7新特性</title>
	</head>
	<body>
		<script>
			// includes判断值是否在数组中
			const arr = ['AAA','BBB','CCC','DDDD'];
			console.log(arr.includes('aaa'));
			console.log(arr.includes('AAA'));
			// ** 相当于Math.pow(2,10)
			console.log(2**10);
			console.log(Math.pow(2,10));
		</script>
	</body>
</html>